// 无论是否声明都采取严格模式
'use strict';

// 以下两种转发方式作用上是等价的，输入方式：import {attrAs, func} from './path'
import {attr as attrAs, func} from './export';
// 以下两种转发方式作用上是等价的，输入方式：import customName from './path' 或 import {default} from './path'
import customName from './export_default';

export {attrAs, func};

export {attr as attrAs, func} from './export';

export default customName;

export {default} from './export_default';
export {default as defaultAs} from './export_default';

// 整体转发，可用于继承export模块并export自定义内容形成新模块
export * from './export';
export * as exportAs from './export';

/* 受IDEA自动格式化的影响，原内容如下

// 无论是否声明都采取严格模式
'use strict';

// 以下两种转发方式作用上是等价的，输入方式：import {attrAs, func} from './path'
import {attr as attrAs, func} from './export';
export {attrAs, func};

export {attr as attrAs, func} from './export';

// 以下两种转发方式作用上是等价的，输入方式：import customName from './path' 或 import {default} from './path'
import customName from './export_default';
export default customName;

export {default} from './export_default';
export {default as defaultAs} from './export_default';

// 整体转发，可用于继承export模块并export自定义内容形成新模块
export * from './export';
export * as exportAs from './export'; */